<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import = "java.io.PrintWriter" %>
<%@page import="com.jd.mysql.mgr.util.TestJfreeChart;"%>
<%
	TestJfreeChart xyChart=new TestJfreeChart();
	String fileName=xyChart.getLineXYChart(session,new PrintWriter(out));
    String graphURL = request.getContextPath() + "/servlet/DisplayChart?filename=" + fileName;
%>
<html>
</head>
<title> JFreeChart使用例子</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<img src="<%= graphURL %>" width=1000 height=600 border=0 usemap="#<%= fileName %>">
</body>
</html>
